import numpy as np
import matplotlib.pyplot as plt
from math import *
import scipy.io as io 

name='all_Lx39erg_z0.02_rb'
sourcedata=np.load("".join([name,'.npy']))


io.savemat("".join([name,'.mat']), {name: sourcedata})